import { IllnessTime } from "@/enum";
import { flagOptions, timeOptions } from "@/constants";

export const getIllnessTimeText = (time: IllnessTime) => timeOptions.find((item) => item.value === time)?.label;
export const getConsultFlagText = (flag: 0 | 1) => flagOptions.find((item) => item.value === flag)?.label;
